of

open fun of(value: Double): ZoomLevel

Returns a ZoomLevel instance for the given double value.

Return

a ZoomLevel instance for the given double value

Parameters

value

double representation of the zoom level. For 100% zoom level the double value should be 1.0, for 25% – 0.25, etc. See the P_ zoom level constants.

Throws

when value is negative